<?php
/**
 * Dada主题 （Dada，仿Dede）Typecho简洁皮肤
 * 
 * @package Typecho Replica Theme 
 * @author 敢叔QQ51543453
 * @version 1.0Beta测试版本，Bug多，功能不完善！
 * @link https://gitee.com/idmin/ty
 */

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
 $this->need('headar.php');
 ?>



		<div id="container">
			<div id="screen">
				<div id="mark" style="height: 706px; position: relative; transform: translate3d(0px, 0px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
					<div class="layer" data-depth="0.4" style="width: 762.6px; height: 778.028px; margin-left: -35.3px; margin-top: -36.0142px; position: relative; display: block; left: 0px; top: 0px; transform: translate3d(0px, 0px, 0px); transform-style: preserve-3d; backface-visibility: hidden;">
						<img id="cover" src="https://cdn.mom1.cn/?mom=302" width="2560" height="1600" style="height: 778px; width: 1244.8px; left: -241px; top: 0px;">
					</div>
				</div>

				<div id="vibrant">
					<svg viewBox="0 0 2880 1620" height="100%" preserveAspectRatio="xMaxYMax slice">
						<polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 " style="fill: rgb(19, 67, 108);"></polygon>
					</svg>
					<div style="background-color: rgb(19, 67, 108);"></div>
				</div>

              
              
              
              

              
              
              
				<div id="header">
					<div>
                      

                                    <?php if ($this->options->logoUrl): ?>
              
<a class="icon-logo" href="<?php $this->options->siteUrl(); ?>">
<img src="<?php $this->options->logoUrl() ?>" alt="<?php $this->options->title() ?>" />
</a>
              
<?php else: ?>
<a  class="icon-logo" href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title() ?></a>
<p class="description"><?php $this->options->description() ?></p>
<?php endif; ?>
                   
						<div class="icon-menu switchmenu" style="color: rgb(122, 152, 192);"></div>
					</div>
				</div>
				<div id="post0">
					<p>时间</p>
					<h2><a data-id="6175" class="posttitle" href="文章地址">标题</a></h2>
					<p>简短文章</p>
				</div>
			</div>


			<div id="primary">




					
				


			                  				<?php if ($this->have()): ?>
								<?php while($this->next()): ?>	
				<div class="post">
					<a href="<?php $this->permalink() ?>" title="<?php $this->title() ?>">
						<img width="680" height="440" src="https://cdn.mom1.cn/?mom=302" class="cover">
                      
                   <!--





获取文章图片，放到src=

<?php if (array_key_exists('img',unserialize($this->___fields()))): ?><?php $this->fields->img(); ?><?php else: ?><?php
preg_match_all("/\<img.*?src\=(\'|\")(.*?)(\'|\")[^>]*>/i", $this->content, $matches);
$imgCount = count($matches[0]);
if($imgCount >= 1){
$img = $matches[2][0];
echo <<<Html
{$img}
Html;
}
?><?php endif; ?>






					-->
                      
					</a>
					<div class="else">
						<p><?php $this->date(); ?></p>
						<h3><a class="posttitle" href="<?php $this->permalink() ?>"></a><?php $this->title() ?></h3>
						<p>
						<?php $this->excerpt(78, '...'); ?>
                      </p>
						<p class="here">
							<span class="icon-view">199</span>
							<a href="javascript:;" class="likeThis"><span class="icon-like"></span><span class="count">0</span></a></p>
					</div>
				</div>
				

							<?php endwhile; ?>
								<?php else: ?>暂无文章<?php endif; ?>
			</div>

          
          
			<div id="pager"><a href="<?php $this->pageLink(); ?>" class="more">撤退<?php $this->pageLink('冲刺','next'); ?></a></div>

		</div>
		<div id="preview" class="trans"></div>
<footer id="footer" role="contentinfo" align="center">
  <a href="http://sousou.asia">Dada主题移植<mark>敢叔</mark></a>
    &copy; <?php echo date('Y'); ?> <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>.
    <?php _e('由 <a href="https://gitee.com/idmin/ty">码云开源 | Typecho</a> 强力驱动'); ?>.
</footer><!-- end #footer -->

	</body>
</html>
